<?php

	require_once 'been/Util/SmsUtil.php';

	header("Content-Type: text/html; charset=utf-8");
	
	$conf = array(
		//主帐号
		"accountSid"=> 'aaf98f894a038dc2014a098d58d0045e',
		
		//主帐号Token
		"accountToken"=> '5f1e895aba304a88ba2f7ea893cac7a3',
		
		//应用Id
		"appId"=>'aaf98f894a038dc2014a098da9e70460',
		
		//请求地址，格式如下，不需要写https://
		"serverIP"=>'sandboxapp.cloopen.com',
		
		//请求端口
		"serverPort"=>'8883',
		
		//REST版本号
		"softVersion"=>'2013-12-26'
	
	);
	
	$sms = new SmsUtil($conf);
	
	$phone = "13821612659";
	$data = array("231456","10");
	$sms->sendTemplateSMS($phone, $data, 1);